package com.permission.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.permission.dto.request.system.ExportLoginLogRequest;
import com.permission.dto.request.system.LoginLogRequest;
import com.permission.entity.SysLoginLogEntity;
import com.permission.message.StandardResponse;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 登录日志表 服务类
 * </p>
 *
 * @author xhs
 * @since 2021-12-29
 */
public interface SysLoginLogService extends IService<SysLoginLogEntity> {

    /**
     * 查询登录日志
     *
     * @return
     */
    StandardResponse<Object> getLoginLog(LoginLogRequest logRequest);

    /**
     * 导出登录日志
     *
     * @return
     */
    void exportLoginLog(ExportLoginLogRequest logRequest, HttpServletResponse response);
}
